package com.woniuxy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户表(RbacManager)实体类
 *
 * @author makejava
 * @since 2022-05-31 11:25:03
 */
public class RbacManager implements Serializable {
    private static final long serialVersionUID = -76648333817722256L;
    /**
     * 用户编号
     */
    private Integer id;
    /**
     * 登陆账号（手机号
     */
    private Integer account;
    /**
     * 登陆密码
     */
    private String password;
    /**
     * 用户头像
     */
    private String image;
    /**
     * 用户姓名
     */
    private String name;
    /**
     * 性别
     */
    private String sex;
    /**
     * 用户手机号
     */
    private Integer phone;
    /**
     * 角色编号
     */
    private Integer roleId;
    /**
     * 角色名称
     */
    private String role;
    /**
     * 学生学号
     */
    private Integer studentno;
    /**
     * 学生方向
     */
    private String subject;
    /**
     * 学生班级
     */
    private String clazz;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;

    public RbacManager() {
    }

    public RbacManager(Integer id, Integer account, String password, String image, String name, String sex, Integer phone, Integer roleId, String role, Integer studentno, String subject, String clazz, Date createTime, Date updateTime) {
        this.id = id;
        this.account = account;
        this.password = password;
        this.image = image;
        this.name = name;
        this.sex = sex;
        this.phone = phone;
        this.roleId = roleId;
        this.role = role;
        this.studentno = studentno;
        this.subject = subject;
        this.clazz = clazz;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAccount() {
        return account;
    }

    public void setAccount(Integer account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getPhone() {
        return phone;
    }

    public void setPhone(Integer phone) {
        this.phone = phone;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public Integer getStudentno() {
        return studentno;
    }

    public void setStudentno(Integer studentno) {
        this.studentno = studentno;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getClazz() {
        return clazz;
    }

    public void setClazz(String clazz) {
        this.clazz = clazz;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "RbacManager{" +
                "id=" + id +
                ", account=" + account +
                ", password='" + password + '\'' +
                ", image='" + image + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", phone=" + phone +
                ", roleId=" + roleId +
                ", role='" + role + '\'' +
                ", studentno=" + studentno +
                ", subject='" + subject + '\'' +
                ", clazz='" + clazz + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}